<!DOCTYPE html PUBLIC "-//W3C//Dtd class="td1" XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/Dtd class="td1"/xhtml1-strict.dtd class="td1"">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>会员中心 - <{$setting.title}></title>
<meta content="<{$setting.keywords}>"  name="keywords"/>
<meta content="<{$setting.description}>" name="description"/>
<script type="text/javascript" src="<{$weburl}>/static/js/jquery.js"></script>
<link href="<{$weburl}>/templates/default/<{$setting.templates}>/css/user.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" href="admin/kindeditor/themes/default/default.css" />
<script charset="utf-8" src="admin/kindeditor/kindeditor-min.js"></script>
<script charset="utf-8" src="admin/kindeditor/lang/zh_CN.js"></script>
<script type="text/javascript" src="<{$weburl}>/static/js/Validform_v5.3.2_min.js"></script>

    <script type="text/javascript" src="<{$weburl}>/static/js/layer/layer.min.js"></script>
    <script type="text/javascript" src="<{$weburl}>/static/js/jquery.inputtext.js"></script>
<script type="text/javascript">
$(document).ready(function() {
    //品牌选择
	$("#brand").click(function(){
		$.get("index.php?m=ajax&ajax=1", { 
			brandid :  $("#brand").val() 
		}, function (data, textStatus){
               $("#subbrand").html(data); // 把返回的数据添加到页面上
			}
		);
	});

	//表单验证
	$(".carform").Validform({
		tiptype:3
	});
});
$(function(){
    $("#carcount").load("<{$weburl}>/index.php?m=ajax&ajax=1&carcount=1");
    $(".keywords").textRemindAuto();
    <{if $setting.version==3}>
        //城市选择
        $(".topcity").toggle(
                function () {
                    $(".topcitylist").show();
                },
                function () {
                    $(".topcitylist").hide();
                }
        );
    <{/if}>
        })
</script>
</head>
<body>
<!--头部--> 
<!--<div class="userhead">-->
	<!--<div class="usertop">-->
		<!--<div class="usertop_left">-->
			<!--会员中心-->
		<!--</div>-->
		<!--<div class="usertop_right">-->
		<!--<{if $smarty.session.USER_NAME<>''}>欢迎你，<{$smarty.session.USER_NAME}>。| <a href='<{$weburl}>/index.php?m=user'>会员中心</a> |  <a href="<{$weburl}>/index.php?m=shop&id=<{$user.id}>" target="_blank">我的店铺</a> | <a href='<{$weburl}>/index.php?m=user&a=logout'>退出</a> | <a href='<{$weburl}>/'>返回首页</a> <{/if}>-->
		<!--</div>-->
	<!--</div>-->
<!--</div>-->

<{if $setting.version==2 or $setting.version==3}>
<script language="JavaScript">
    $(function(){
        $("#loginw").load("<{$weburl}>/index.php?m=ajax&ajax=1&login=1");
    })
</script>
<{/if}>
<div class="top">
    <div class="top_main clearfix">
        <div class="top_left">
            欢迎来到<{$setting.sitename}>！<{if $setting.version==2 or $setting.version==3}><span id="loginw"></span><{/if}>
            <a href="<{$weburl}>/index.php?m=shop&id=<{$user.id}>" target="_blank">我的店铺</a>
            <a href='<{$weburl}>/'>返回首页</a>
        </div>
        <div class="top_right">
            客服热线：<span class="orange01 fb"><{$setting.tel}></span>
        </div>
    </div>
</div>



<div class="headw">
    <div class="head">
        <div class="logo"><a href="<{$weburl}>/"><{if $setting.logo<>''}><img src="<{$setting.logo}>" alt="<{$setting.sitename}>"><{else}><{$setting.sitename}><{/if}></a></div>
        <{if $setting.version==3}><div class="topcity"><script src="<{$weburl}>/index.php?m=city"></script></div>
        <div class="topcitylist hide">
            <ul>
                <li><a href="<{$weburl}>/index.php?m=city&cid=0">全国</a></li>
                <{foreach from=$recomcitylist key=skey item=city}>
                <li><a href="<{$weburl}>/index.php?m=city&cid=<{$city.id}>"><{$city.name}></a></li>
                <{/foreach}>
            </ul>
        </div>
        <{/if}>
        <div class="topsearch">
            <div class="topsearchbox">
                <form method="get" action="<{$weburl}>/index.php">
                    <input type="text" name="k" class="keywords" value="请输入关键词，如宝马"><input type="submit" value="" class="button"/>
                    <input type="hidden" name="m" value="search">
                </form>
            </div>
            <p class="topkeywords"><{foreach from=$cache.topkeywords item=keywords}><a href="<{$weburl}>/index.php?m=search&k=<{$keywords.keyword}>"><{$keywords.keywords}></a>&nbsp;&nbsp;<{/foreach}></p>
        </div>
        <!--<div class="carnum" id="carcount">-->
        <!--</div>-->
    </div>
</div>
<div class="nav_list">
    <ul class="clearfix">
        <{if $setting.ishtml==1}>
        <{foreach from=$htmlpartlist key=key item=htmlpart}>
        <li>
            <a href="<{if $htmlpart.c_target==2}><{$htmlpart.c_htmlurl}><{else}><{$weburl}>/<{$htmlpart.c_htmlurl}><{/if}>"
               title="<{$htmlpart.c_name}>" <{if $menustate==$htmlpart.c_id}>class="here"<{/if}> <{if $htmlpart.c_target==2}>target="_blank"<{/if}>><{$htmlpart.c_name}></a>
        </li>
        <{/foreach}>
        <{else}>
        <{foreach from=$partlist key=key item=part}>
        <li>
            <a href="<{if $part.c_target==2}><{$part.c_url}><{else}><{$weburl}>/<{$part.c_url}><{/if}>" title="<{$part.c_name}>" <{if $menustate==$part.c_id}>class="here"<{/if}> <{if $part.c_target==2}>target="_blank"<{/if}>><{$part.c_name}></a>
        </li>
        <{/foreach}>
        <{/if}>
    </ul>
</div>
<!--头部结束--> 
<!--主体-->
<div class="usermain clearfix mt10">
    <div class="userleft">
       <{include file="default/`$setting.templates`/user_left.html"}>
    </div>
    <div class="userright">
		<h2 class="usernav"><{$ac_arr.$ac}></h2>
		<div class="box"> 
		<{if $ac == "index"}>
			<{include file="default/`$setting.templates`/user_index.html"}>
		<{elseif $ac == "carlist"}>
            <{include file="default/`$setting.templates`/user_carlist.html"}>
        <{elseif $ac=="addcar" or $ac=="editcar"}>
            <{include file="default/`$setting.templates`/user_addcar.html"}>
		<{elseif $ac == "rentcarlist"}>
            <{include file="default/`$setting.templates`/user_rentcarlist.html"}>
        <{elseif $ac=="addrentcar" or $ac=="editrentcar"}>
            <{include file="default/`$setting.templates`/user_addrentcar.html"}>
        <{elseif $ac == "subscribelist"}>
            <{include file="default/`$setting.templates`/user_subscribelist.html"}>
		<{elseif $ac=="inquirylist"}>
            <{include file="default/`$setting.templates`/user_inquirylist.html"}>
		<{elseif $ac=="upinfo"}>
            <{include file="default/`$setting.templates`/user_upinfo.html"}>
        <{elseif $ac=="editshop"}>
            <{include file="default/`$setting.templates`/user_openshop.html"}>
        <{elseif $ac=="uppwd"}>
            <{include file="default/`$setting.templates`/user_uppwd.html"}>
		<{elseif $ac=="addlogo"}>
            <{include file="default/`$setting.templates`/user_addlogo.html"}>
		<{elseif $ac=="asklist"}>
            <{include file="default/`$setting.templates`/user_asklist.html"}>
		<{elseif $ac=="replyask"}>
            <{include file="default/`$setting.templates`/user_replyask.html"}>
		<{elseif $ac=="newslist"}>
            <{include file="default/`$setting.templates`/user_newslist.html"}>
		<{elseif $ac=="addnews" or $ac=="editnews"}>
            <{include file="default/`$setting.templates`/user_addnews.html"}>
		<{elseif $ac=="dealerlist"}>
            <{include file="default/`$setting.templates`/user_dealerlist.html"}>
		<{elseif $ac=="adddealer" or $ac=="editdealer"}>
            <{include file="default/`$setting.templates`/user_adddealer.html"}>
		<{/if}>
		</div>
    </div>
</div>
<!--主体结束--> 
<!--底部--> 
<{include file="default/`$setting.templates`/foot.html"}> 
<!--底部结束-->
</body>
</html>
